package com.personnel.pojo;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * 员工基本信息表(Staff)实体类
 *
 * @author yuepeng
 * @since 2021-12-28 15:32:45
 * @version 1.0
 */
public class Staff implements Serializable {
    private static final long serialVersionUID = -16434990825418060L;
    /**
    * 人员表主键（编号）
    */
    private Integer staffId;
    /**
    * 姓名
    */
    private String staffName;
    /**
    * 登录名
    */
    private String loginName;
    /**
    * 密码
    */
    private String password;
    /**
    * 性别
    */
    private String sex;
    /**
    * 电话
    */
    private String phone;
    /**
    * 身份证号码
    */
    private String idNumber;
    /**
    * 政治面貌
    */
    private String politicsStatus;
    /**
    * 未婚，已婚
    */
    private String marriage;
    /**
    * 国籍
    */
    private String nationality;
    /**
    * 籍贯
    */
    private String nativePlace;
    /**
    * 民族
    */
    private String nation;
    /**
    * 家庭住址
    */
    private String familyAddress;
    /**
    * 当前住址
    */
    private String currentAddress;
    /**
    * 出生日期
    */
    private Date birthday;
    /**
    * 邮箱
    */
    private String email;
    /**
    * 个人照片
    */
    private String photo;
    /**
    * 毕业院校
    */
    private String graduateSchool;
    /**
    * 专业
    */
    private String specialty;
    /**
    * 最高学位
    */
    private String degree;
    /**
    * 毕业日期
    */
    private Date graduationDate;
    /**
    * 紧急联系人
    */
    private String emergencyContactName;
    /**
    * 紧急联系人电话
    */
    private String emergencyContactPhone;
    /**
    * 银行卡号
    */
    private String bankAccount;
    /**
    * 部门id
    */
    private Integer staffDepartmentId;
    /**
    * 职位id
    */
    private Integer staffJobId;
    /**
    * 直接上级
    */
    private String directSuperior;
    /**
    * 入职时间

    */
    private Date hiredate;
    /**
    * 转正时间
    */
    private Date conversionTime;
    /**
    * 离职时间
    */
    private Date leaveTime;
    /**
    * 人员类别
    */
    private String category;
    /**
    * 状态
    */
    private Integer action;
    /**
    * 权限
    */
    private Integer auth;
    /**
    * 备注
    */
    private String comment;
    /**
    * 额外的附件
    */
    private String extraFile;
    /**
    * 头像
    */
    private String headImg;
    /**
     * 验证码
     */
    private String msgCode;
    /**
     * 短信验证码时间
     */
    private Timestamp codeTime;
    /**
     * uuid(邮箱验证码)
     */
    private String uuid;

	private Department department;

	private Job job;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }


        
    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

        
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
        
    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }
        
    public String getPoliticsStatus() {
        return politicsStatus;
    }

    public void setPoliticsStatus(String politicsStatus) {
        this.politicsStatus = politicsStatus;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }
        
    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }
        
    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
        
    public String getFamilyAddress() {
        return familyAddress;
    }

    public void setFamilyAddress(String familyAddress) {
        this.familyAddress = familyAddress;
    }
        
    public String getCurrentAddress() {
        return currentAddress;
    }

    public void setCurrentAddress(String currentAddress) {
        this.currentAddress = currentAddress;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
        
    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
        
    public String getGraduateSchool() {
        return graduateSchool;
    }

    public void setGraduateSchool(String graduateSchool) {
        this.graduateSchool = graduateSchool;
    }
        
    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }
        
    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }
        
    public Date getGraduationDate() {
        return graduationDate;
    }

    public void setGraduationDate(Date graduationDate) {
        this.graduationDate = graduationDate;
    }

    public String getEmergencyContactName() {
        return emergencyContactName;
    }

    public void setEmergencyContactName(String emergencyContactName) {
        this.emergencyContactName = emergencyContactName;
    }
        
    public String getEmergencyContactPhone() {
        return emergencyContactPhone;
    }

    public void setEmergencyContactPhone(String emergencyContactPhone) {
        this.emergencyContactPhone = emergencyContactPhone;
    }
        
    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public Integer getStaffDepartmentId() {
        return staffDepartmentId;
    }

    public void setStaffDepartmentId(Integer staffDepartmentId) {
        this.staffDepartmentId = staffDepartmentId;
    }

    public Integer getStaffJobId() {
        return staffJobId;
    }

    public void setStaffJobId(Integer staffJobId) {
        this.staffJobId = staffJobId;
    }

    public String getDirectSuperior() {
        return directSuperior;
    }

    public void setDirectSuperior(String directSuperior) {
        this.directSuperior = directSuperior;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public Date getConversionTime() {
        return conversionTime;
    }

    public void setConversionTime(Date conversionTime) {
        this.conversionTime = conversionTime;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }
        
    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
        
    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }
        
    public Integer getAuth() {
        return auth;
    }

    public void setAuth(Integer auth) {
        this.auth = auth;
    }
        
    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
        
    public String getExtraFile() {
        return extraFile;
    }

    public void setExtraFile(String extraFile) {
        this.extraFile = extraFile;
    }

    public String getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(String msgCode) {
        this.msgCode = msgCode;
    }

    public Timestamp getCodeTime() {
        return codeTime;
    }

    public void setCodeTime(Timestamp codeTime) {
        this.codeTime = codeTime;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "staffId=" + staffId +
                ", staffName='" + staffName + '\'' +
                ", headImg='" + headImg + '\'' +
                '}';
    }
}